#!/bin/bash

# Performance test for HBase column family number
# @author dino.keco
# @email dino.keco@gmail.com
# @date 2012.06.12

num_of_column_families=( 1 2 3 4 5 6 )
qf_number=100
table_name=cf_table
num_of_mappers=2
records_per_mapper=100

for cf_number in "${num_of_column_families[@]}"
do
hadoop jar hbase-showcase-1.0.jar ba.keco.hbase.columnfamily.MapReduceTest -Dhbase.showcase.cf.number=${cf_number} -Dhbase.showcase.qf.number=${qf_number} -Dhbase.showcase.table.name=${table_name} -Dhbase.showcase.input.records=${records_per_mapper} -Dhbase.showcase.mappers=${num_of_mappers}
done
